﻿using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using TarreOA.TarreOABLL;
using TarreOA.TarreOAModels;

public partial class admin_SellInfo : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            SellInfo sellInfo = SellInfoManager.FindBySellInfoId(Convert.ToInt32(Request.QueryString["sid"]));
            lblClient.Text = sellInfo.Client.ClientName;
            lblProduct.Text = sellInfo.Product.ProductName;
            lblSellDate.Text = sellInfo.SellDate.ToShortDateString();
            lblCount.Text = sellInfo.Count.ToString();
            lblPrice.Text = sellInfo.Price.ToString();
            lblAgio.Text = sellInfo.Agio.ToString();
            lblConsignmentUser.Text = sellInfo.ConsignmentUser;
            lblRemark.Text = sellInfo.Remark;
        }
    }
}
